﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Header.ascx.vb" Inherits="FrontEnd_Control_Store_Header" %>
<%@ Import Namespace="Cls_Common" %>
<script type="text/javascript">
    $(function () {
        $(".collapsed").click(function () {
            $("#nav-toggle").toggle(1000);
        });

        var _url = window.location;        
        $(".MenuStoreActive").each(function () {
            var curURL = $(this).attr("href");
            if (_url == curURL) {
                $(this).parent().addClass("active");
            }
            else {
                $(this).parent().removeClass("active");
            };
        });
    });
</script>
<div class="row">
    <div class="col-xs-12">
        <div class="padding-fix">
            <div class="logo_salon">
                <div class="name_salon">
                    <asp:HyperLink ID="hplBannerTop" NavigateUrl="" runat="server">
                        <asp:Literal ID="ltrTitle" Text="" runat="server" />
                    </asp:HyperLink>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- start navigation -->
<div class="row" style="height: 47px">
    <div class="nav-inner">
        <nav class="navbar navbar-inverse" role="navigation">
            <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse-in" data-target="#nav-toggle">
                        <span class="sr-only">Menu</span> <span class="icon-bar"></span><span class="icon-bar">
                        </span><span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href='<%=MainDomain & "index.aspx"%> '>
                        <img src='<%=MainDomain & "FrontEnd/images/icon-link-home.png" %>' alt="" />
                    </a>
                </div>
                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="nav-toggle">
                    <ul class="nav navbar-nav">
                        <asp:Repeater ID="rptMenu" runat="server">
                            <ItemTemplate>
                                <li>
                                    <asp:HyperLink ID="hplTitle" runat="server" CssClass="MenuStoreActive" />
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <!-- /.navbar-collapse -->
            </div>
            <!-- /.container-fluid -->
        </nav>
    </div>
</div>
<!-- end navigation -->
